package com.devops.admin.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @ClassName DOSKubernetesResource
 * @Description TODO
 * @Author heyabo
 * @Date 2022/8/11 14:40
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
@TableName("dos_kubernetes_resource")
public class DOSKubernetesResource extends DOSModel{

    /**
     * 项目id
     **/
    private Integer projectId;
    /**
     * 环境类型id
     **/
    private Integer envTypeId;
    /**
     * 集群id
     **/
    private Integer clusterId;
    /**
     * 项目绑定的命名空间id
     **/
    private Integer namespaceId;
    /**
     * 命名空间
     **/
    private String namespace;
    /**
     * 资源名称
     **/
    private String name;
    /**
     * 资源类型
     **/
    private String kind;
    /**
     * 资源版本
     **/
    private String apiVersion;
    /**
     * 资源yaml文件
     **/
    private String yamlValue;
}
